package com.lgkj.bean.meitao;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/8/22 0022.
 */

public class GoodsBean {

    /**
     * code : 0
     * msg : 操作成功
     * data : {"id":"1","type_id":"1","goods_name":"足力健老人鞋","goods_describe":"但是但是多所多多多多付","goods_content":[{"url":"http://mdyt.lianguangtech.com/static/module/admin/img/onimg.png","height":197},{"url":"http://mdyt.lianguangtech.com/static/module/admin/img/onimg.png","height":197},{"url":"http://mdyt.lianguangtech.com/static/module/admin/img/onimg.png","height":197},{"url":"http://mdyt.lianguangtech.com/static/module/admin/img/onimg.png","height":197},{"url":"http://mdyt.lianguangtech.com/static/module/admin/img/onimg.png","height":197}],"postage":"18.00","sales":"0","photos":["http://mdyt.lianguangtech.com/upload/picture/20180822/ef00428d6cf33e223637e44d0f17cb27.png"],"new_cover_id":"0","reg_level":"0","create_time":"1970-01-01 08:00:00","update_time":"2018-08-22 19:28:47","status":"1","GoodsInfo":[{"id":"1","goods_id":"1","model_cover_id":"http://mdyt.lianguangtech.com/static/module/admin/img/onimg.png","model_describe":"可发货的尽快发货的健康发货接口","goods_model":"13盒敌敌畏","old_price":"230.00","price":"79.00","stock_num":"9999","model_sales":"0","create_time":"1970-01-01 08:00:00","update_time":"2018-08-22 19:28:47","status":"1"},{"id":"2","goods_id":"1","model_cover_id":"http://mdyt.lianguangtech.com/static/module/admin/img/onimg.png","model_describe":"可发货的尽快发货的健康发货接口","goods_model":"13盒敌敌畏","old_price":"255.00","price":"99.00","stock_num":"9999","model_sales":"0","create_time":"1970-01-01 08:00:00","update_time":"2018-08-22 19:28:47","status":"1"},{"id":"52","goods_id":"1","model_cover_id":"http://mdyt.lianguangtech.com/static/module/admin/img/onimg.png","model_describe":"可发货的尽快发货的健康发货接口","goods_model":"13盒敌敌畏","old_price":"188.00","price":"88.00","stock_num":"9999","model_sales":"4467","create_time":"1970-01-01 08:00:00","update_time":"2018-08-22 19:28:47","status":"1"}]}
     * exe_time : 0.007491
     */

    private int code;
    private String msg;
    private DataBean data;
    private String exe_time;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getExe_time() {
        return exe_time;
    }

    public void setExe_time(String exe_time) {
        this.exe_time = exe_time;
    }

    public static class DataBean {
        /**
         * id : 1
         * type_id : 1
         * goods_name : 足力健老人鞋
         * goods_describe : 但是但是多所多多多多付
         * goods_content : [{"url":"http://mdyt.lianguangtech.com/static/module/admin/img/onimg.png","height":197},{"url":"http://mdyt.lianguangtech.com/static/module/admin/img/onimg.png","height":197},{"url":"http://mdyt.lianguangtech.com/static/module/admin/img/onimg.png","height":197},{"url":"http://mdyt.lianguangtech.com/static/module/admin/img/onimg.png","height":197},{"url":"http://mdyt.lianguangtech.com/static/module/admin/img/onimg.png","height":197}]
         * postage : 18.00
         * sales : 0
         * photos : ["http://mdyt.lianguangtech.com/upload/picture/20180822/ef00428d6cf33e223637e44d0f17cb27.png"]
         * new_cover_id : 0
         * reg_level : 0
         * create_time : 1970-01-01 08:00:00
         * update_time : 2018-08-22 19:28:47
         * status : 1
         * GoodsInfo : [{"id":"1","goods_id":"1","model_cover_id":"http://mdyt.lianguangtech.com/static/module/admin/img/onimg.png","model_describe":"可发货的尽快发货的健康发货接口","goods_model":"13盒敌敌畏","old_price":"230.00","price":"79.00","stock_num":"9999","model_sales":"0","create_time":"1970-01-01 08:00:00","update_time":"2018-08-22 19:28:47","status":"1"},{"id":"2","goods_id":"1","model_cover_id":"http://mdyt.lianguangtech.com/static/module/admin/img/onimg.png","model_describe":"可发货的尽快发货的健康发货接口","goods_model":"13盒敌敌畏","old_price":"255.00","price":"99.00","stock_num":"9999","model_sales":"0","create_time":"1970-01-01 08:00:00","update_time":"2018-08-22 19:28:47","status":"1"},{"id":"52","goods_id":"1","model_cover_id":"http://mdyt.lianguangtech.com/static/module/admin/img/onimg.png","model_describe":"可发货的尽快发货的健康发货接口","goods_model":"13盒敌敌畏","old_price":"188.00","price":"88.00","stock_num":"9999","model_sales":"4467","create_time":"1970-01-01 08:00:00","update_time":"2018-08-22 19:28:47","status":"1"}]
         */

        private String id;
        private String type_id;
        private String goods_name;
        private String goods_describe;
        private String postage;
        private String sales;
        private String new_cover_id;
        private String reg_level;
        private String create_time;
        private String update_time;
        private String status;
        private List<GoodsContentBean> goods_content;
        private List<String> photos;
        private List<GoodsInfoBean> GoodsInfo;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getType_id() {
            return type_id;
        }

        public void setType_id(String type_id) {
            this.type_id = type_id;
        }

        public String getGoods_name() {
            return goods_name;
        }

        public void setGoods_name(String goods_name) {
            this.goods_name = goods_name;
        }

        public String getGoods_describe() {
            return goods_describe;
        }

        public void setGoods_describe(String goods_describe) {
            this.goods_describe = goods_describe;
        }

        public String getPostage() {
            return postage;
        }

        public void setPostage(String postage) {
            this.postage = postage;
        }

        public String getSales() {
            return sales;
        }

        public void setSales(String sales) {
            this.sales = sales;
        }

        public String getNew_cover_id() {
            return new_cover_id;
        }

        public void setNew_cover_id(String new_cover_id) {
            this.new_cover_id = new_cover_id;
        }

        public String getReg_level() {
            return reg_level;
        }

        public void setReg_level(String reg_level) {
            this.reg_level = reg_level;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(String update_time) {
            this.update_time = update_time;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public List<GoodsContentBean> getGoods_content() {
            return goods_content;
        }

        public void setGoods_content(List<GoodsContentBean> goods_content) {
            this.goods_content = goods_content;
        }

        public List<String> getPhotos() {
            return photos;
        }

        public void setPhotos(List<String> photos) {
            this.photos = photos;
        }

        public List<GoodsInfoBean> getGoodsInfo() {
            return GoodsInfo;
        }

        public void setGoodsInfo(List<GoodsInfoBean> GoodsInfo) {
            this.GoodsInfo = GoodsInfo;
        }

        public static class GoodsContentBean {
            /**
             * url : http://mdyt.lianguangtech.com/static/module/admin/img/onimg.png
             * height : 197
             */

            private String url;
            private int height;

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public int getHeight() {
                return height;
            }

            public void setHeight(int height) {
                this.height = height;
            }
        }

        public static class GoodsInfoBean implements Serializable {
            /**
             * id : 1
             * goods_id : 1
             * model_cover_id : http://mdyt.lianguangtech.com/static/module/admin/img/onimg.png
             * model_describe : 可发货的尽快发货的健康发货接口
             * goods_model : 13盒敌敌畏
             * old_price : 230.00
             * price : 79.00
             * stock_num : 9999
             * model_sales : 0
             * create_time : 1970-01-01 08:00:00
             * update_time : 2018-08-22 19:28:47
             * status : 1
             */

            private String id;
            private String goods_id;
            private String model_cover_id;
            private String model_describe;
            private String goods_model;
            private String old_price;
            private String price;
            private String stock_num;
            private String model_sales;
            private String create_time;
            private String update_time;
            private String status;
            private int goods_num;

            public int getGoods_num() {
                return goods_num;
            }

            public void setGoods_num(int goods_num) {
                this.goods_num = goods_num;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getModel_cover_id() {
                return model_cover_id;
            }

            public void setModel_cover_id(String model_cover_id) {
                this.model_cover_id = model_cover_id;
            }

            public String getModel_describe() {
                return model_describe;
            }

            public void setModel_describe(String model_describe) {
                this.model_describe = model_describe;
            }

            public String getGoods_model() {
                return goods_model;
            }

            public void setGoods_model(String goods_model) {
                this.goods_model = goods_model;
            }

            public String getOld_price() {
                return old_price;
            }

            public void setOld_price(String old_price) {
                this.old_price = old_price;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getStock_num() {
                return stock_num;
            }

            public void setStock_num(String stock_num) {
                this.stock_num = stock_num;
            }

            public String getModel_sales() {
                return model_sales;
            }

            public void setModel_sales(String model_sales) {
                this.model_sales = model_sales;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public String getUpdate_time() {
                return update_time;
            }

            public void setUpdate_time(String update_time) {
                this.update_time = update_time;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            @Override
            public String toString() {
                return "GoodsInfoBean{" +
                        "id='" + id + '\'' +
                        ", goods_id='" + goods_id + '\'' +
                        ", model_cover_id='" + model_cover_id + '\'' +
                        ", model_describe='" + model_describe + '\'' +
                        ", goods_model='" + goods_model + '\'' +
                        ", old_price='" + old_price + '\'' +
                        ", price='" + price + '\'' +
                        ", stock_num='" + stock_num + '\'' +
                        ", model_sales='" + model_sales + '\'' +
                        ", create_time='" + create_time + '\'' +
                        ", update_time='" + update_time + '\'' +
                        ", status='" + status + '\'' +
                        ", goods_num=" + goods_num +
                        '}';
            }
        }
    }
}
